package com.mlearning.demo.service;

import com.alibaba.fastjson.JSONObject;
import com.mlearning.demo.pojo.neo4j.Book;

import java.util.ArrayList;
import java.util.List;

public interface BookService {
    Book getBookDetail(int id);
    ArrayList<String> getBookTags(int id);
    ArrayList<String> getBookKnows(int id);
    boolean isSave(int userid,int bookid);
    ArrayList<JSONObject> getRecBooks(int userid);
    ArrayList<Book> getRelBooks(String search);
}
